package com.why.simpleboot.core.core.schedule.Task;

import java.lang.reflect.Method;

/**
 * @program: why-simpleboot-framework
 * @description: 间隔任务 搁 internval 执行1次
 * @author: @why
 * @create: 2021-05-29 16:35
 **/
public class InternalTask extends FunctionTask {

    private long interval;

    public InternalTask(Method method, Object target, Object[] args, TaskType taskType, long interval) {
        super(method, target, args, taskType);
        this.interval = interval;
    }
}
